package com.tanhua.server.service;


import com.tanhua.model.domain.UserInfo;
import com.tanhua.model.dto.LikeCount;
import com.tanhua.model.dto.UserDto;
import com.tanhua.model.vo.UserVo;
import org.springframework.http.ResponseEntity;

import java.util.Map;

public interface UserServise {

    //获取并发送验证码
    ResponseEntity sendSms(String phone);

    //用户登录
    UserVo loginUser(String phone, String code);

    //修改手机号1:发送验证码
    void sendSmsCode();

    //修改手机号2:检查手机号
    ResponseEntity checkVerificationCode(String code);

    //修改手机号3:保存手机号
    void updatePhone(String phone);

    //是否喜欢某一个用户
    Boolean alreadyLove(Long id);

    //相互喜欢,喜欢,粉丝统计
    LikeCount counts();


}
